import { FC } from "react";
import styles from "./index.module.less";

interface IDetailTitleProps {
  title: string;
}

const DetailTitle: FC<IDetailTitleProps> = (props: IDetailTitleProps) => {
  return (
    <>
      <div className={styles["detailCard-title"]}>
        <div className={styles["cycle"]}></div>
        <div className={styles["textTitle"]}>{props.title}</div>
        <div className={styles["littleCycle"]}></div>
        <div className={styles["line"]}></div>
      </div>
    </>
  );
};

export default DetailTitle;
